package ar.Location.Constant;

import ar.activity.R;

public class Define {
	
	public static final String GOOGLE_API_KEY = "AIzaSyDnWgInOfTygDnqOG8X2HzDC94nt1TK1CM";
//	public static final String GOOGLE_API_KEY = "AIzaSyCw3CydrvzeHVRD2UETmJQ0GtjL89KKNYU";
	public static final String GOOGLE_API_SEARCH_REQUEST = "https://maps.googleapis.com/maps/api/place/search/xml?location=@location&radius=@radius&types=@types&sensor=@sensor&key=@key";
	public static final String GOOGLE_API_PLACE_DETAIL_REQUEST = "https://maps.googleapis.com/maps/api/place/details/xml?reference=@reference&sensor=@sensor&key=@key";

	public static final String WIKIPEDIA_USER_NAME = "duybinh0208";
	public static final String WIKIPEDIA_SEARCH_REQUEST = "http://api.geonames.org/findNearbyWikipedia?lat=@lat&lng=@lng&radius=@radius&maxRows=@maxRows&username=@username";

	public static final String EVENTFUL_API_KEY = "VzDmZXmvH8n92mqk";
	public static final String EVENTFUL_SEARCH_REQUEST = "http://api.eventful.com/rest/events/search?app_key=@app_key&location=@location&date=future&within=@within&units=km&sort_order=date&sort_direction=ascending&page_size=@page_size";

	public static final String FOURSQUARE_API_CLIENT_ID = "FG4U5EIPJSSQF0P05XF5HWJ2FO0XMDMQSGWLWPLOTPFTIY43";
	public static final String FOURSQUARE_API_CLIENT_SECRET = "SJEHHXOEBQR0TSFAG4B5OULHY300W4FFO32C5T5SBXSYZTFF";
	public static final String FOURSQUARE_API_REDIRECT_URL = "www.google.com.vn";

	public static final String WUNDERGROUND_API_KEY = "61d560b659171fda";
	
	public static final String FLICKR_API_KEY = "82ecad8da10f339b0d4481730eff50f0";
	public static final String FLICKR_API_SECRET = "13f8104cf77180fe";
	public static final String FLICKR_API_HOST = "www.flickr.com";

	public static final String FUNC_AR_CAMERA = "AR Camera";
	public static final String FUNC_AR_MAP = "AR Map";
	public static final String FUNC_SHARE_LOCATION = "Share Location";
	public static final String FUNC_DATA_SOURCE = "Data Source";
	public static final String FUNC_DATA_FILTER = "Data Filter";

	public static final int FUNC_AR_CAMERA_INDEX = 0;
	public static final int FUNC_AR_MAP_INDEX = 1;
	public static final int FUNC_SHARE_LOCATION_INDEX = 2;
	public static final int FUNC_DATA_SOURCE_INDEX = 3;
	public static final int FUNC_DATA_FILTER_INDEX = 4;

	public static final int PLACE_CATEGORY_EXTEND = 100;
	
	public static final String DF_CAFE = "Coffee";
	public static final String DF_FOOD = "Food";
	public static final String DF_PARK = "Park";
	public static final String DF_BANK = "Bank";
	public static final String DF_UNIVERSITY = "University";
	public static final String DF_HOSPITAL = "Hospital";

	public static final int DF_CAFE_INDEX = 0;
	public static final int DF_FOOD_INDEX = 1;
	public static final int DF_PARK_INDEX = 2;
	public static final int DF_BANK_INDEX = 3;
	public static final int DF_UNIVERSITY_INDEX = 4;
	public static final int DF_HOSPITAL_INDEX = 5;
	
	public static final String ACTION_OUTSIDE_MAP = "Action outside map";
	public static final String ACTION_SHOW_DIRECTION = "Show direction";
	public static final String ACTION_SHOW_LIST_RESULTS = "Show list results";
	public static final String ACTION_SHOW_ITEM = "Show item on map";
	public static final String ACTION_TRACKING_ON_MAP = "Tracking on map";

	public static final String DS_GOOGLE_PLACE = "Google Place";
	public static final String DS_WIKIPEDIA = "Wikipedia";
	public static final String DS_FLICKR = "Flickr";
	public static final String DS_EVENTFUL = "Eventful";
	public static final String DS_FOURSQUARE = "Foursquare";

	public static final int DS_GOOGLE_PLACE_INDEX = 0;
	public static final int DS_WIKIPEDIA_INDEX = 1;
	public static final int DS_EVENTFUL_INDEX = 2;
	public static final int DS_FLICKR_INDEX = 3;
	public static final int DS_FOURSQUARE_INDEX = 4;
	
	public static final int BY_CAR = 0;
	public static final int BY_TRANSIT = 1;
	public static final int BY_BICYCLE = 2;
	public static final int WALKING = 3;

//	public static final String MAP_API_KEY = "03ti4vN3uZ6Zsmy2NVvbzcHUPwLJ3Aa5bTP5kLg";
	public static final String MAP_API_KEY = "009eNgCC0iSyopKC_gMxngUrNM9yrcrf_sZPqww";
	
	public static final int REQ_TTS_STATUS_CHECK = 0;

	public static final int KM = 1000;
	public static final int MAX_RESULT = 50;
	public static final int LONGPRESS_THRESHOLD = 1500;
	public static final float SQ2 = 1.414213562373095f;

	public static Integer[] listDataFilterIcons = { R.drawable.icon_coffee,
			R.drawable.icon_food, R.drawable.icon_park, R.drawable.icon_bank,
			R.drawable.icon_university, R.drawable.icon_hospital };

	public static String[] listDataFilterNames = { DF_CAFE, DF_FOOD, DF_PARK,
			DF_BANK, DF_UNIVERSITY, DF_HOSPITAL };

	public static Integer[] listDataSourceIcons = {
			R.drawable.icon_google_place, R.drawable.icon_wikipedia,
			R.drawable.icon_eventful, R.drawable.icon_flickr,
			R.drawable.icon_foursquare };

	public static String[] listDataSourceNames = { DS_GOOGLE_PLACE,
			DS_WIKIPEDIA, DS_EVENTFUL, DS_FLICKR, DS_FOURSQUARE };
}
